package com.itshare.video.common.crud;

import java.util.List;

/**
 * 这个接口将用于 自己的代码模板
 * @Author lyr
 * @create 2020/9/16 21:02
 */
@Deprecated
public interface BaseMapper<PO,POExample,ID> {

    long countByExample(POExample example);


    int deleteByExample(POExample example);

    int deleteByPrimaryKey(ID id);


    int insert(PO record);


    int insertSelective(PO record);


    List<PO> selectByExample(POExample example);

    PO selectByPrimaryKey(ID id);


    int updateByExampleSelective(PO record, POExample example);


    int updateByExample(PO record, POExample example);


    int updateByPrimaryKeySelective(PO record);


    int updateByPrimaryKey(PO record);
}
